package com.demo.oa.dao;

import com.demo.oa.entity.ClaimVoucher;
import org.springframework.stereotype.Repository;

import java.util.List;

// 报销单
@Repository("claimVoucherDao")
public interface ClaimVoucherDao {
    void insert(ClaimVoucher claimVoucher);
    void update(ClaimVoucher claimVoucher);
    void delete(int id);
    ClaimVoucher select(int id);
    // 按照创建者查询报销单
    List<ClaimVoucher> selectByCreateSn(String csn);
    // 按照待处理人编号查询报销单
    List<ClaimVoucher> selectByNextDealSn(String ndsn);
}
